<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width= , initial-scale=1.0">
  <title>Document</title>
  <style>
    /* 使用filter加blur对图片直接进行模糊 */
    .filter {
      filter: blur(5px);
    }

    .box{
      width: 150px;
      height: 150px;
      position: relative;
    }

    .box img{
      width: 100%;
    }
    .box .mask{
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      /* 这种效果会模糊下方的元素 而且没有边缘 */
      backdrop-filter: blur(5px);
    }
  </style>
</head>

<body>

  <img class="filter" src="../images/music_01.jpg" alt="">
  <div class="box">
    <img src="../images/music_01.jpg" alt="">
    <div class="mask"></div>
  </div>

</body>

</html>